<form name="addRole" novalidate>
    <table width="100%" class="mt10" style="margin-bottom: 30px;">
        <tbody>
        <tr>
            <td align="left"
                class="form-cell w120 pt16"
                valign="top">
                <em class="c-red">*&nbsp;</em>
                角色名称
            </td>
            <td class="pt12">
                <input type="text" name="roleName"
                       id="js_role_name"
                       class="input-text mr10 w400"
                       ng-model="roleInfo.roleName"
                       required>
                <p role="alert"
                   ng-show="(addRole.$submitted || addRole.roleName.$touched) && addRole.roleName.$error.required"
                   class="error c-red lh30">
                    角色名称不能为空
                </p>
            </td>
        </tr>
        <tr>
            <td align="left" class="form-cell w120 pt16" valign="top">&nbsp;&nbsp;&nbsp;角色说明</td>
            <td class="pt12">
                <textarea type="text"
                          class="fl f14 mr10 w400 textarea"
                          style="border:1px solid #d9d9d9;"
                          ng-model="roleInfo.roleDesc"
                          rows="3">
                </textarea>
            </td>
        </tr>
        </tbody>
    </table>
</form>